﻿using System;
using System.ComponentModel.Composition;
using System.Drawing;
using System.Windows.Forms;

namespace Moonlite.Composition
{
    [MetadataAttribute]
    public class WindowMetadataAttribute : Attribute
    {
        public string Name { get; set; }
        public DockStyle Dock { get; set; }
        public int DockId { get; set; }
        public bool Hidden { get; set; }
        public Image Icon { get; set; }
        public WindowFlags Flags { get; set; }
        public WindowMetadataAttribute()
            : this("", DockStyle.Left, 0, false, null, WindowFlags.None)
        {

        }

        public WindowMetadataAttribute(string name, DockStyle dock, int dockId, bool hidden, Image icon, WindowFlags flags)
        {
            Name = name;
            Dock = dock;
            DockId = dockId;
            Hidden = hidden;
            Icon = icon;
            Flags = flags;
        }
    }
}
